/**
  * 描述：
  *
  * @Author ${author}
  * @mail ${mail}
  * @Date ${date}
  */
import fetch from '@/utils/fetch';

const androidApi = {
    getPageList (params) {
        return fetch({
            url: '/api/android/page',
            method: 'get',
            params: params
        });
    },
    getDetail (data) {
        return fetch({
            url: '/api/android/'+data,
            method: 'get',
        });
    },
    add (data) {
        return fetch({
            url: '/api/android',
            method: 'post',
            data: data
        });
    },
    update (data) {
        return fetch({
            url: '/api/android/'+data.id,
            method: 'put',
            data: data
        });
    },
    del (data) {
        return fetch({
            url: '/api/android',
            method: 'delete',
            data: data
        });
    }
};
export default androidApi;
